TArray.IndexOf<T>(T[],T,Integer) Method

Searches for the specified element and returns the index of the first occurrence within the range of elements in the array that extends from the specified index to the last element.

Namespace: Spring
public
 class function IndexOf<T>(const values: array of T; const item: T;
 index: Integer): Integer; overload; static;

Type Parameters

T

Parameters

values
Type: array of T

item
Type: T

index
Type: Integer

Return Value

Type: Integer